<?php /* Smarty version Smarty-3.1.21-dev, created on 2015-11-09 13:30:56
         compiled from "H:\WebApplication\myconpany\sumi_mobile\application\views\user\purchaseorderdetail.html" */ ?>
<?php /*%%SmartyHeaderCode:288245623a877609407-41405746%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd99a2ea2619cfbe36277a77d7d9a22d500ab456f' => 
    array (
      0 => 'H:\\WebApplication\\myconpany\\sumi_mobile\\application\\views\\user\\purchaseorderdetail.html',
      1 => 1446607426,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '288245623a877609407-41405746',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.21-dev',
  'unifunc' => 'content_5623a877d82875_21349728',
  'variables' => 
  array (
    'orderinfo' => 0,
    '_SupplyOrderMean' => 0,
    '_orderDeliveryTypeMean' => 0,
    '_supplyOrderCfg' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5623a877d82875_21349728')) {function content_5623a877d82875_21349728($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ((@constant('APPLICATION_PATH')).("/application/views/header.html"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>


<!--header stop-->
<?php echo $_smarty_tpl->getSubTemplate ((@constant('APPLICATION_PATH')).("/application/views/common/headerusertitle.html"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<!--header end-->
<!--content stop-->
<section class="box-user">

    <div class="my_tmt"><?php echo $_smarty_tpl->tpl_vars['orderinfo']->value['cate_name'];?>
 <?php echo $_smarty_tpl->tpl_vars['orderinfo']->value['product_name'];?>
  <?php echo $_smarty_tpl->tpl_vars['orderinfo']->value['brand_name'];?>
 <span class="fr gray"><?php echo $_smarty_tpl->tpl_vars['orderinfo']->value['update_time'];?>
</span></div>

    <div class="my_tms">
        <p class="pt10p">订 单 号：<?php echo $_smarty_tpl->tpl_vars['orderinfo']->value['order_key'];?>
</p>
        <p class="pt10p">状　　态：<span class="orange"><?php echo $_smarty_tpl->tpl_vars['_SupplyOrderMean']->value[$_smarty_tpl->tpl_vars['orderinfo']->value['status']];?>
 </span></p>
        <p class="pt10p">配送方式：<?php if ($_smarty_tpl->tpl_vars['orderinfo']->value['delivery_method']!='') {
echo $_smarty_tpl->tpl_vars['_orderDeliveryTypeMean']->value[$_smarty_tpl->tpl_vars['orderinfo']->value['delivery_method']];
} else { ?>自提<?php }?></p>

        <?php if ($_smarty_tpl->tpl_vars['orderinfo']->value['delivery_method']=='2') {?><p class="pt10p">配送地址： <?php echo $_smarty_tpl->tpl_vars['orderinfo']->value['delivery_addr'];?>
</p><?php }?>

        <p class="pt10p">单　　价：<?php echo $_smarty_tpl->tpl_vars['orderinfo']->value['price'];?>
元/吨</p>
        <p class="pt10p">数　　量：<?php echo $_smarty_tpl->tpl_vars['orderinfo']->value['num'];?>
吨</p>
    </div>

    <div class="my_tms">
        <h3 class="gray" style="line-height: 35px; font-size: 14px; color: #333; font-weight: bold;">求购公司</h3>
        <p class="w5p">公司名称：<span class="orange"><?php if ($_smarty_tpl->tpl_vars['orderinfo']->value['ibusiness_name']!='') {
echo $_smarty_tpl->tpl_vars['orderinfo']->value['ibusiness_name'];
}?></span></p>
        <p class="pt10p">联 系 人 ：<?php if ($_smarty_tpl->tpl_vars['orderinfo']->value['icontacts']!='') {
echo $_smarty_tpl->tpl_vars['orderinfo']->value['icontacts'];
}?></p>
        <p class="pt10p">联系电话：<?php if ($_smarty_tpl->tpl_vars['orderinfo']->value['imobile']!='') {
echo $_smarty_tpl->tpl_vars['orderinfo']->value['imobile'];
}?></p>
    </div>

    <div class="my_tms">
        <h3 class="gray" style="line-height: 35px; font-size: 14px; color: #333; font-weight: bold;">报价公司</h3>
        <p class="w5p">公司名称：<span class="orange"><?php if ($_smarty_tpl->tpl_vars['orderinfo']->value['business_name']!='') {
echo $_smarty_tpl->tpl_vars['orderinfo']->value['business_name'];
}?></span></p>
        <p class="pt10p">联 系 人 ：<?php if ($_smarty_tpl->tpl_vars['orderinfo']->value['contacts']!='') {
echo $_smarty_tpl->tpl_vars['orderinfo']->value['contacts'];
}?></p>
        <p class="pt10p">联系电话：<?php if ($_smarty_tpl->tpl_vars['orderinfo']->value['mobile']!='') {
echo $_smarty_tpl->tpl_vars['orderinfo']->value['mobile'];
}?></p>
    </div>


    <div class="my_tms">
        <p class="w5p">备注：<span class="orange"><?php if ($_smarty_tpl->tpl_vars['orderinfo']->value['remark']!='') {
echo $_smarty_tpl->tpl_vars['orderinfo']->value['remark'];
}?> </span></p>
    </div>

    <p class="my_tms_btn">

        <?php if ($_smarty_tpl->tpl_vars['orderinfo']->value['status']==$_smarty_tpl->tpl_vars['_supplyOrderCfg']->value['audit']||$_smarty_tpl->tpl_vars['orderinfo']->value['status']==$_smarty_tpl->tpl_vars['_supplyOrderCfg']->value['deal']) {?>
        <a href="/user/purchaseordercancel/id/<?php echo $_smarty_tpl->tpl_vars['orderinfo']->value['id'];?>
" class="gray" style="background: #999;">取消</a>
        <?php }?>
    </p>

</section>
<?php echo $_smarty_tpl->getSubTemplate ((@constant('APPLICATION_PATH')).("/application/views/footer.html"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<?php }} ?>
